package com.ls.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ls.controller.logistic.model.AddLogisticModel;
import com.ls.controller.logistic.model.QueryLogisticModel;
import com.ls.controller.logistic.model.LogisticsSmsModel;
import com.ls.entity.Logistic;
import com.ls.utils.ResultData;

import java.io.File;

/**
 * <p>
 * 物流 服务类
 * </p>
 *
 * @author lanchi
 * @since 2024-10-12
 */
public interface ILogisticService extends IService<Logistic> {
    /** 分页物流记录 */
    ResultData pageList(QueryLogisticModel model);
    /**导入物流单号*/
    ResultData analyseExcelLogistic(File file,Integer type);
    /**发送物流短信*/
    ResultData send(LogisticsSmsModel model,Integer type);

    String queryTrack(String logisticNum) throws Exception;
    /**获取物流状态*/
    ResultData getStatus();
    /**单个添加物流单号*/
    ResultData add(AddLogisticModel model);
}
